home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 #1 / Ham Radio 2000.iso / ham2000 / tcp_ip / wnos / wn941101 / makefile < prev    next >
Encoding:
Makefile  |  1994-10-31  |  13.9 KB  |  261 lines

  1. #
  2. #    Makefile for KA9Q TCP/IP package for PC clones with Turbo C
  3. #
  4. # switches:
  5. #    define the ones you want in the CFLAGS definition...
  6. #
  7. #    TRACE        - turn on tracing/debugging code
  8. #
  9. #    AMIGA        - include Amiga specific code
  10. #    MSDOS        - include Messy-Dos specific code
  11. #    UNIX        - Use UNIX file format conventions
  12. #    CPM        - Use CP/M file format conventions
  13. #
  14. #.SWAP
  15. #
  16. #
  17. # Assembler flags
  18. AFLAGS= -ml -q -t -DMEMMOD=LARGE
  19. #
  20. all:    wnos.exe
  21.     pklite wnos.exe
  22.  
  23. # Define PC-specific include file
  24. hardware.h: pc.h
  25.     copy pc.h hardware.h
  26.  
  27. .c.obj:
  28.         bcc -c $*.c
  29.  
  30. .asm.obj:
  31.     tasm $(AFLAGS) $*;
  32.  
  33. sccvec.obj: sccvec.asm
  34.     tasm $(AFLAGS) -DLARGEDATA $*;
  35.  
  36. spawn.obj: spawn.asm
  37.     tasm $(AFLAGS) $*;
  38.  
  39. CLIENTS= telnet.obj ftpcli.obj finger.obj smtpcli.obj tip.obj pop2cli.obj \
  40.          nntpcli.obj domcli.obj rlogin.obj pop3cli.obj
  41.  
  42. SERVERS= ttylink.obj ftpserv.obj smisc.obj nntpserv.obj smtpserv.obj \
  43.          fingerd.obj mailbox.obj pop2serv.obj convers.obj domserv.obj pop3serv.obj
  44.  
  45. INTERNET= tcpcmd.obj tcpuser.obj tcptimer.obj tcpout.obj tcpin.obj \
  46.           tcpsubr.obj tcphdr.obj udpcmd.obj udp.obj udphdr.obj domsubr.obj \
  47.           ipcmd.obj ip.obj iproute.obj iphdr.obj icmpcmd.obj icmp.obj \
  48.           icmpmsg.obj icmphdr.obj arpcmd.obj arp.obj arphdr.obj netuser.obj \
  49.           nntpsubr.obj
  50.  
  51. AX25= ax25cmd.obj bmutil.obj ax25rout.obj axheard.obj forward.obj kiss.obj crc.obj
  52.  
  53. NETROM=    nrcmd.obj nr4user.obj nr4timer.obj nr4.obj nr4subr.obj nr4hdr.obj \
  54.         nr3.obj nrs.obj nrhdr.obj
  55.  
  56. NET= ftpsubr.obj sockcmd.obj sockuser.obj socket.obj sockutil.obj asy.obj \
  57.      slip.obj iface.obj timer.obj ttydriv.obj cmdparse.obj mbuf.obj misc.obj \
  58.      pathname.obj audit.obj files.obj kernel.obj ksubr.obj alloc.obj \
  59.          getopt.obj lzw.obj wildmat.obj 
  60.  
  61. DUMP= trace.obj enetdump.obj arcdump.obj \
  62.       kissdump.obj ax25dump.obj arpdump.obj nrdump.obj \
  63.       ipdump.obj icmpdump.obj udpdump.obj tcpdump.obj
  64.  
  65. PCOBJS= pc.obj dirutil.obj ec.obj pktdrvr.obj enet.obj \
  66.         drsi.obj drsivec.obj z8530.obj 8250.obj \
  67.         ecvec.obj pkvec.obj asyvec.obj \
  68.         scc.obj sccvec.obj pcgen.obj sw.obj \
  69.         vanessa.obj arcnet.obj cpuid.obj
  70. #        vanessa.obj stopwatch.obj arcnet.obj cpuid.obj
  71.  
  72.  
  73. mkdep.exe: mkdep.c
  74.     bcc mkdep.c
  75.     del mkdep.obj
  76.  
  77. wnos.exe: spawn.obj main.obj config.obj version.obj session.obj clients.lib servers.lib \
  78.          internet.lib net.lib netrom.lib ax25.lib pc.lib dump.lib
  79.         bcc -ld -ewnos.exe spawn.obj main.obj config.obj version.obj session.obj *.lib
  80.  
  81. xref: spawn.obj main.obj config.obj version.obj session.obj clients.lib servers.lib \
  82.           internet.lib net.lib netrom.lib ax25.lib pc.lib dump.lib
  83.         objxref /F /RU /RR /Oxref.out \
  84.         e:\borlandc\lib\c0l.obj main.obj config.obj version.obj session.obj \
  85.         *.lib c:\borlandc\lib\cl.lib
  86.  
  87. apptest.exe: apptest.obj appint.obj external.h
  88.     bcc -ml -O -Z -M -y apptest.obj appint.obj
  89.  
  90. apptest.obj: apptest.c appint.h
  91.     bcc -c -ml -O -Z -M -y apptest.c
  92.  
  93. appint.obj: appint.c external.h
  94.     bcc -c -ml -O -Z -M -y appint.c
  95.  
  96. clients.lib: $(CLIENTS) clients.tl
  97.     del clients.lib
  98.     tlib /C clients.lib @clients.tl
  99.  
  100. servers.lib: $(SERVERS) servers.tl
  101.     del servers.lib
  102.     tlib /C servers.lib @servers.tl
  103.  
  104. internet.lib: $(INTERNET) internet.tl
  105.     del internet.lib
  106.     tlib /C internet.lib @internet.tl
  107.  
  108. ax25.lib: $(AX25) ax25.tl
  109.     del ax25.lib
  110.     tlib /C ax25.lib @ax25.tl
  111.  
  112. netrom.lib: $(NETROM) netrom.tl
  113.     del netrom.lib
  114.     tlib /C netrom.lib @netrom.tl
  115.  
  116. net.lib: $(NET) net.tl
  117.     del net.lib
  118.     tlib /C net.lib @net.tl
  119.  
  120. dump.lib: $(DUMP) dump.tl
  121.     del dump.lib
  122.     tlib /C dump.lib @dump.tl
  123.  
  124. pc.lib: $(PCOBJS) pc.tl
  125.     del pc.lib
  126.     tlib /C pc.lib @pc.tl
  127.  
  128. zip:
  129.     pkzip -u -ex wn941101 makefile *.asm *.c *.h *.tl turboc.cfg tasm.cfg
  130. #    arj a wnosobj *.obj *.lib
  131.  
  132. #zipup:
  133. #    arj u wnossrc makefile *.asm *.c *.h *.tl turboc.cfg tasm.cfg
  134. #    arj u wnosobj *.obj *.lib
  135.  
  136. clean:
  137.     del *.lib
  138.     del *.obj
  139.     del wnos.exe
  140. #    del *.map
  141.  
  142. #make begin says to start from the beginning.
  143. begin: clean
  144.     bcc -c *.c
  145.     tasm $(AFLAGS) *.asm
  146.  
  147. # this section generated by mkdep
  148. 8250.obj: 8250.c global.h config.h mbuf.h proc.h iface.h asy.h pc.h slip.h 8250.h nrs.h
  149. alloc.obj: alloc.c global.h proc.h cmdparse.h mbuf.h session.h files.h commands.h
  150. arcdump.obj: arcdump.c global.h config.h mbuf.h arcnet.h trace.h
  151. arcnet.obj: arcnet.c global.h config.h mbuf.h iface.h timer.h arp.h ip.h arcnet.h
  152. arp.obj: arp.c global.h mbuf.h timer.h iface.h enet.h ax25.h icmp.h ip.h arp.h files.h
  153. arpcmd.obj: arpcmd.c global.h mbuf.h timer.h enet.h ax25.h arp.h netuser.h cmdparse.h commands.h
  154. arpdump.obj: arpdump.c global.h mbuf.h arp.h netuser.h trace.h
  155. arpfconv.obj: arpfconv.c global.h
  156. arphdr.obj: arphdr.c global.h mbuf.h arp.h
  157. asy.obj: asy.c global.h config.h iface.h pktdrvr.h netuser.h asy.h 8250.h ax25.h kiss.h slip.h nrs.h proc.h commands.h
  158. audit.obj: audit.c global.h mbuf.h
  159. ax25cmd.obj: ax25cmd.c global.h config.h mbuf.h timer.h proc.h iface.h ax25.h cmdparse.h socket.h mailbox.h session.h tty.h nr4.h commands.h asy.h scc.h vanessa.h smtp.h
  160. ax25dump.obj: ax25dump.c global.h config.h mbuf.h ax25.h timer.h trace.h socket.h
  161. ax25rout.obj: ax25rout.c global.h config.h socket.h mbuf.h iface.h timer.h arp.h slip.h ax25.h netrom.h ip.h tcp.h trace.h files.h icmp.h
  162. axheard.obj: axheard.c global.h mbuf.h iface.h ax25.h ip.h timer.h
  163. bmutil.obj: bmutil.c global.h socket.h ftpserv.h smtp.h proc.h usock.h telnet.h session.h files.h bm.h mailbox.h
  164. cmdparse.obj: cmdparse.c global.h proc.h cmdparse.h
  165. config.obj: config.c hardware.h global.h mbuf.h proc.h cmdparse.h config.h daemon.h timer.h iface.h pktdrvr.h slip.h usock.h kiss.h enet.h ax25.h netrom.h nr4.h arp.h ip.h icmp.h tcp.h udp.h commands.h arcnet.h trace.h
  166. convers.obj: convers.c global.h config.h mailbox.h netuser.h timer.h smtp.h cmdparse.h socket.h session.h files.h lzw.h
  167. conversd.obj: conversd.c global.h config.h ax25.h
  168. crc.obj: crc.c global.h mbuf.h crc.h
  169. dirutil.obj: dirutil.c global.h dirutil.h commands.h files.h
  170. domcli.obj: domcli.c global.h config.h domain.h socket.h netuser.h files.h cmdparse.h
  171. domserv.obj: domserv.c global.h config.h socket.h domain.h files.h netuser.h iface.h
  172. domsubr.obj: domsubr.c config.h global.h mbuf.h domain.h netuser.h socket.h files.h
  173. drsi.obj: drsi.c global.h config.h mbuf.h iface.h pktdrvr.h netuser.h drsi.h ax25.h trace.h pc.h 8530.h
  174. ec.obj: ec.c global.h config.h mbuf.h enet.h iface.h pktdrvr.h netuser.h ec.h timer.h arp.h trace.h pc.h
  175. enet.obj: enet.c global.h config.h mbuf.h iface.h timer.h arp.h ip.h enet.h
  176. enetdump.obj: enetdump.c global.h config.h mbuf.h enet.h trace.h
  177. files.obj: files.c global.h config.h files.h socket.h
  178. finger.obj: finger.c global.h mbuf.h socket.h session.h proc.h netuser.h commands.h tty.h
  179. fingerd.obj: fingerd.c global.h files.h mbuf.h socket.h session.h proc.h dirutil.h commands.h mailbox.h
  180. forward.obj: forward.c global.h config.h bm.h mailbox.h smtp.h cmdparse.h proc.h socket.h timer.h usock.h netuser.h ax25.h netrom.h nntp.h nr4.h files.h
  181. ftpcli.obj: ftpcli.c global.h mbuf.h session.h cmdparse.h proc.h tty.h socket.h ftp.h ftpcli.h commands.h netuser.h dirutil.h files.h
  182. ftpserv.obj: ftpserv.c global.h mbuf.h socket.h ftp.h ftpserv.h proc.h dirutil.h commands.h
  183. ftpsubr.obj: ftpsubr.c global.h mbuf.h socket.h proc.h ftp.h ftpcli.h
  184. getopt.obj: getopt.c global.h
  185. icmp.obj: icmp.c global.h mbuf.h timer.h iface.h ip.h icmp.h netuser.h
  186. icmpcmd.obj: icmpcmd.c global.h icmp.h ip.h mbuf.h netuser.h internet.h timer.h socket.h proc.h session.h cmdparse.h commands.h tcp.h
  187. icmpdump.obj: icmpdump.c global.h mbuf.h internet.h netuser.h icmp.h trace.h ip.h
  188. icmphdr.obj: icmphdr.c global.h mbuf.h internet.h ip.h icmp.h
  189. icmpmsg.obj: icmpmsg.c global.h
  190. iface.obj: iface.c global.h config.h mbuf.h proc.h iface.h ip.h netuser.h ax25.h enet.h pktdrvr.h cmdparse.h commands.h 
  191. ip.obj: ip.c global.h mbuf.h timer.h internet.h netuser.h iface.h pktdrvr.h ip.h icmp.h
  192. ipcmd.obj: ipcmd.c global.h mbuf.h internet.h timer.h netuser.h iface.h ip.h cmdparse.h commands.h socket.h
  193. ipdump.obj: ipdump.c global.h mbuf.h internet.h ip.h trace.h netuser.h
  194. iphdr.obj: iphdr.c global.h mbuf.h ip.h internet.h
  195. iproute.obj: iproute.c global.h mbuf.h iface.h timer.h internet.h ip.h netuser.h icmp.h trace.h pktdrvr.h files.h
  196. kernel.obj: kernel.c global.h mbuf.h proc.h timer.h socket.h daemon.h hardware.h
  197. kiss.obj: kiss.c global.h config.h mbuf.h iface.h kiss.h slip.h asy.h ax25.h 
  198. kissdump.obj: kissdump.c global.h config.h mbuf.h kiss.h ax25.h trace.h ip.h
  199. ksubr.obj: ksubr.c global.h proc.h pc.h commands.h
  200. logfile.obj: logfile.c
  201. lzw.obj: lzw.c global.h config.h mbuf.h proc.h lzw.h usock.h session.h cmdparse.h
  202. mailbox.obj: mailbox.c global.h config.h bm.h timer.h mailbox.h cmdparse.h proc.h socket.h usock.h session.h ax25.h smtp.h dirutil.h telnet.h ftp.h ftpserv.h netrom.h commands.h netuser.h files.h
  203. main.obj: main.c global.h config.h files.h mbuf.h socket.h iface.h ftpcli.h telnet.h remote.h session.h cmdparse.h ax25.h arp.h kiss.h enet.h timer.h proc.h tty.h daemon.h domain.h usock.h netrom.h ip.h tcp.h udp.h hardware.h commands.h asy.h trace.h scc.h vanessa.h 8250.h
  204. mbuf.obj: mbuf.c global.h mbuf.h proc.h config.h
  205. misc.obj: misc.c global.h socket.h mbuf.h
  206. netuser.obj: netuser.c global.h netuser.h domain.h
  207. nntpcli.obj: nntpcli.c global.h config.h nntp.h files.h domain.h socket.h cmdparse.h session.h lzw.h
  208. nntpserv.obj: nntpserv.c global.h config.h nntp.h socket.h files.h ftp.h bm.h lzw.h
  209. nntpsubr.obj: nntpsubr.c global.h nntp.h files.h socket.h
  210. nr3.obj: nr3.c global.h config.h mbuf.h pktdrvr.h iface.h netuser.h timer.h arp.h slip.h ax25.h netrom.h nr4.h socket.h trace.h ip.h commands.h
  211. nr4.obj: nr4.c global.h config.h mbuf.h timer.h ax25.h netrom.h nr4.h
  212. nr4hdr.obj: nr4hdr.c global.h config.h mbuf.h nr4.h
  213. nr4subr.obj: nr4subr.c global.h config.h mbuf.h timer.h ax25.h netrom.h nr4.h
  214. nr4timer.obj: nr4timer.c global.h config.h mbuf.h timer.h ax25.h netrom.h nr4.h
  215. nr4user.obj: nr4user.c global.h config.h mbuf.h timer.h ax25.h netrom.h nr4.h
  216. nrcmd.obj: nrcmd.c global.h config.h mbuf.h ax25.h mailbox.h netrom.h nr4.h timer.h iface.h cmdparse.h session.h socket.h commands.h files.h
  217. nrdump.obj: nrdump.c global.h config.h mbuf.h netrom.h nr4.h trace.h
  218. nrhdr.obj: nrhdr.c global.h config.h mbuf.h timer.h ax25.h netrom.h
  219. nrs.obj: nrs.c global.h config.h mbuf.h iface.h pktdrvr.h ax25.h nrs.h asy.h trace.h commands.h
  220. pathname.obj: pathname.c global.h dirutil.h
  221. pc.obj: pc.c global.h config.h mbuf.h socket.h internet.h iface.h cmdparse.h pc.h proc.h session.h smtp.h scc.h pktdrvr.h asy.h 8250.h domain.h
  222. pktdrvr.obj: pktdrvr.c global.h config.h proc.h mbuf.h netuser.h enet.h arcnet.h ax25.h slip.h kiss.h iface.h ec.h arp.h trace.h pktdrvr.h
  223. pop2cli.obj: pop2cli.c global.h mbuf.h cmdparse.h proc.h socket.h timer.h netuser.h dirutil.h files.h smtp.h
  224. pop3cli.obj: pop3cli.c global.h mbuf.h cmdparse.h proc.h socket.h timer.h netuser.h dirutil.h files.h smtp.h
  225. pop2serv.obj: pop2serv.c global.h config.h mbuf.h cmdparse.h socket.h proc.h files.h pop.h
  226. pop3serv.obj: pop3serv.c global.h config.h mbuf.h cmdparse.h socket.h proc.h files.h pop.h
  227. rlogin.obj: rlogin.c global.h mbuf.h socket.h session.h proc.h tty.h commands.h netuser.h
  228. scc.obj: scc.c global.h config.h mbuf.h config.h netuser.h proc.h iface.h pktdrvr.h slip.h nrs.h 8250.h scc.h 8530.h 8536.h ax25.h trace.h pc.h kiss.h
  229. session.obj: session.c global.h config.h mbuf.h proc.h ftpcli.h icmp.h telnet.h tty.h session.h hardware.h socket.h cmdparse.h commands.h files.h rlogin.h
  230. slip.obj: slip.c global.h config.h mbuf.h iface.h config.h internet.h ip.h ax25.h slip.h asy.h trace.h
  231. smisc.obj: smisc.c global.h mbuf.h proc.h socket.h remote.h hardware.h commands.h smtp.h tcp.h
  232. smtpcli.obj: smtpcli.c global.h config.h cmdparse.h proc.h socket.h lzw.h timer.h netuser.h smtp.h dirutil.h commands.h session.h files.h
  233. smtpserv.obj: smtpserv.c global.h config.h mbuf.h cmdparse.h socket.h lzw.h iface.h proc.h smtp.h commands.h dirutil.h mailbox.h bm.h nntp.h domain.h files.h
  234. sockcmd.obj: sockcmd.c global.h config.h mbuf.h proc.h lzw.h usock.h socket.h ax25.h netrom.h tcp.h udp.h commands.h
  235. socket.obj: socket.c global.h config.h mbuf.h netuser.h timer.h iface.h ip.h tcp.h udp.h ax25.h netrom.h nr4.h proc.h lzw.h usock.h socket.h
  236. sockuser.obj: sockuser.c global.h config.h mbuf.h proc.h socket.h lzw.h usock.h session.h nr4.h
  237. sockutil.obj: sockutil.c global.h mbuf.h netuser.h socket.h usock.h ax25.h tcp.h nr4.h config.h
  238. sw.obj: sw.c global.h pc.h cmdparse.h
  239. tcpcmd.obj: tcpcmd.c global.h timer.h mbuf.h netuser.h internet.h tcp.h cmdparse.h commands.h
  240. tcpdump.obj: tcpdump.c global.h mbuf.h netuser.h internet.h tcp.h ip.h trace.h
  241. tcphdr.obj: tcphdr.c global.h mbuf.h tcp.h ip.h internet.h
  242. tcpin.obj: tcpin.c global.h timer.h mbuf.h netuser.h internet.h tcp.h icmp.h iface.h ip.h
  243. tcpout.obj: tcpout.c global.h timer.h mbuf.h netuser.h internet.h tcp.h ip.h
  244. tcpsubr.obj: tcpsubr.c global.h timer.h mbuf.h netuser.h internet.h tcp.h ip.h
  245. tcptimer.obj: tcptimer.c global.h mbuf.h timer.h netuser.h internet.h tcp.h
  246. tcpuser.obj: tcpuser.c global.h timer.h mbuf.h netuser.h socket.h internet.h tcp.h ip.h icmp.h proc.h
  247. telnet.obj: telnet.c global.h config.h mbuf.h socket.h telnet.h session.h proc.h tty.h commands.h netuser.h
  248. timer.obj: timer.c global.h timer.h proc.h mbuf.h commands.h daemon.h hardware.h socket.h
  249. tip.obj: tip.c global.h config.h mbuf.h proc.h iface.h 8250.h asy.h tty.h session.h socket.h commands.h
  250. trace.obj: trace.c global.h mbuf.h iface.h trace.h pktdrvr.h commands.h session.h files.h
  251. ttydriv.obj: ttydriv.c global.h mbuf.h session.h tty.h socket.h
  252. ttylink.obj: ttylink.c global.h mbuf.h socket.h telnet.h session.h proc.h tty.h mailbox.h commands.h cmdparse.h netuser.h
  253. udp.obj: udp.c global.h mbuf.h netuser.h iface.h udp.h ip.h internet.h icmp.h
  254. udpcmd.obj: udpcmd.c global.h mbuf.h netuser.h udp.h internet.h cmdparse.h commands.h
  255. udpdump.obj: udpdump.c global.h mbuf.h netuser.h internet.h udp.h ip.h socket.h trace.h domain.h
  256. udphdr.obj: udphdr.c global.h mbuf.h ip.h internet.h udp.h
  257. vanessa.obj: vanessa.c global.h config.h proc.h commands.h mbuf.h ax25.h ip.h pktdrvr.h trace.h vanessa.h
  258. version.obj: version.c
  259. wildmat.obj: wildmat.c global.h
  260.  
  261.